package com.example.net.http


import com.example.net.http.response.BaseResponse
import com.example.net.http.response.RankResponse
import com.example.net.http.response.RoomUserResponse
import okhttp3.Callback
import okhttp3.RequestBody
import retrofit2.Call
import retrofit2.http.*

/**
 * Author by lp,on 2020/8/31/031,13:48.
 */
interface RockService {

    @POST("/enterprise/app-api/racing/getRank/{gameId}")
   suspend fun queryRank(@Path("gameId") gameId:String): BaseResponse<List<RankResponse>>

   @GET("/enterprise/app-api/racing/getRoomUsers/{roomId}")
   suspend fun getLiveUser(@Path("roomId") roomId:String): BaseResponse<RoomUserResponse>



}